﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientService.Models.Lg.Remote;
/// <summary>
/// OCV作业配方
/// </summary>
public class LgOcvRecipe
{
    /// <summary>
    /// 1:OCV
    /// </summary>
    public int OperGroupID { get; set; } = 1;
    /// <summary>
    /// 1到4,工序
    /// </summary>
    public int Sequence { get; set; } = 2;
    /// <summary>
    /// 电芯数量
    /// </summary>
    public int CellCount { get; set; } = 48;
    /// <summary>
    /// 0:测定 1:skip  按照电芯数量011003232...
    /// </summary>
    public string[] Test { get; set; }
    /// <summary>
    /// 24*电芯数目
    /// </summary>
    public string[] Cells { get; set; }

    /// <summary>
    /// 电压上限
    /// </summary>
    public double VoltageUpperLimit { get; set; } = 4000;

    /// <summary>
    /// 电压下限
    /// </summary>
    public double VoltageLowerLimit { get; set; } = 2750;

    /// <summary>
    /// 内阻上限
    /// </summary>
    public double InternalResistanceUpperLimit { get; set; } = 1;

    /// <summary>
    /// 内阻下限
    /// </summary>
    public double InternalResistanceLowerLimit { get; set; }

    /// <summary>
    /// 壳压上限
    /// </summary>
    public double ShellPressureUpperLimit { get; set; } = 100;

    /// <summary>
    /// 壳压下限
    /// </summary>
    public double ShellPressureLowerLimit { get; set; }


    /// <summary>
    /// K_value上限
    /// </summary>
    public double KValueUpperLimit { get; set; } // 需要指定值

    /// <summary>
    /// K_value下限
    /// </summary>
    public double KValueLowerLimit { get; set; } // 需要指定值

    // OCV结果 9*电芯数目,有了值之后设备不测
    public string OCVResults { get; set; } = "0".PadRight(9 * 48, '0');
    /// <summary>
    /// OCV时间 14*电芯数目
    /// </summary>
    public string OCVTimes { get; set; } = "0".PadRight(14 * 48, '0');

}




